package ZRH;

public class zrh02 {
    public static void main(String[] args) {
        int[] arr = {11, 22, 33};
        getDx(arr);
    }


    public static void getDx(int[] arr) {
        System.out.print("[");
        for (int i = arr.length - 1; i >= 0; i--) {
            if (i == 0) {
                System.out.print(arr[i] + "]");
                return;
            }
            System.out.print(arr[i] + ",");
        }
        System.out.print("]");
    }
}
